package com.dp.mallchat.common.common.event;

import lombok.Getter;
import org.springframework.context.ApplicationEvent;

/**
 * @Author: dupeng
 * @CreateTime: 2024-06-30  22:34
 * @Description: 发送消息事件
 */
@Getter
public class SendMessageEvent extends ApplicationEvent {

    private Long msgId;

    public SendMessageEvent(Object source, Long msgId) {
        super(source);
        this.msgId = msgId;
    }
}
